package com.example.administrator.hero;

import com.example.administrator.hero.bean.Video;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.util.List;

/**
 * Created by Administrator on 2016/9/23.
 */
public class DownHomeJson {
    public static List<Video> getHomeJson(String json){
        try {
            JSONObject object = new JSONObject(json);
            JSONArray list = object.getJSONArray("list");

            return null;
        } catch (JSONException e) {
            e.printStackTrace();
        }

        return null;
    }
}
